package com.htgd.gardenexpo.service;

import com.github.pagehelper.PageInfo;
import com.htgd.gardenexpo.entity.GeBaseDict;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htgd.gardenexpo.page.DictQuery;
import com.htgd.gardenexpo.vo.LabelValue;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-04-07
 */
public interface GeBaseDictService extends IService<GeBaseDict> {


    PageInfo<GeBaseDict> pageList(DictQuery dictQuery);

    boolean codeExist(String code);

    String getStatusText(String value);

    List<LabelValue> getItemByCode(String code);

    String getTopText(String value);

    String getTextByCodeAndValue(String code, String value);

    String getFeedbackTypeText(String value);

    String getByCode(String code);

    String getRecommendTypeText(String value);

    String getGoodsType(String value);
}
